<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>token信息获取</title>
</head>

<body>
  <!-- 本地存储 -->
  <input type="text" id="txtInfo" value="黑暗骑士">
  <button id="btnLocal">保存信息</button>


  <hr>
  <button id="btnToken">获取token</button>
  <span id="spToken"></span>

  <hr>

  <img id="imgCode" src="" alt="">
  <a id="acode" href="javascript:void(0)">点击更换一张</a>

  <script type="module" src="./js/token.js"></script>
</body>

</html>